package com.devin.model.enums;

import lombok.Data;

/**
 * @author: simpl
 * @date: 2020/4/1
 * @time: 17:23
 * @description:
 */


public enum MessageType {

    /*
    * 离开
    * */
    LEAVE("leave"),

    /*
    * 控制播放器
    * */
    OPERATOR("operator"),

    /*
    * 聊天
    * */
    CHAT("chat"),

    /*
    * 进入房间
    * */
    ENTER("enter");

    private String Type;

    MessageType(String type) {
        Type = type;
    }

    public String getType() {
        return Type;
    }

}
